package com.ponhu.ea2.goodsCenter.provider.service;

import com.ponhu.ea2.entity.PhAiPictureMaterialMd;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

public interface PhAiPictureMaterialMdService extends IService<PhAiPictureMaterialMd> {

    boolean updateAiPictureByItemId(String itemId, Long materialId, String materialCode);

    List<PhAiPictureMaterialMd> getAiPicturesByItemId(String itemId);

    PhAiPictureMaterialMd aiPictureQuery(String itemId, Long materialId, String materialCode);

    boolean saveOrUpdateBatchByItemIds(List<PhAiPictureMaterialMd> aiPictureList);

    List<PhAiPictureMaterialMd> getListByItemIds(List<String> itemIds);
}
